/*
 * MaterialGroup.cpp
 *
 *  Created on: Mar 19, 2014
 *      Author: knuke
 */

#include "MaterialGroup.hpp"
#include "Mesh.hpp"

namespace gengine
{

  MaterialGroup::MaterialGroup(const Mesh* mesh) : mesh_(mesh), material_(0)
  {

  }

  MaterialGroup::~MaterialGroup()
  {
  }

  const Material* MaterialGroup::getMaterial() const
  {
    return material_;
  }

  void MaterialGroup::setMaterial(const Material* material)
  {
    material_ = material;
  }

  const Mesh* MaterialGroup::getMesh() const
  {
    return mesh_;
  }

  void MaterialGroup::setMesh(const Mesh* mesh)
  {
    mesh_ = mesh;
  }

} /* namespace gengine */

